package com.example.serialportdemo;

import android.app.Application;

public class SPApplication extends Application {

    public static SPApplication instance;

    public static SPApplication getInstance(){
        if (instance == null) {
            instance = new SPApplication();
        }
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        LogUtil.init(true);
    }
}
